package com.d3works.apps.maintenance.module;

import com.d3works.app.D3worksModule;
import com.d3works.apps.maintenance.db.repo.EquipementMaintenanceRepo;
import com.d3works.apps.maintenance.db.repo.EquipementMaintenanceRepository;
import com.d3works.apps.maintenance.db.repo.MaintenanceRequestRepo;
import com.d3works.apps.maintenance.db.repo.MaintenanceRequestRepository;
import com.d3works.apps.maintenance.service.BillOfMaterialServiceMaintenanceImpl;
import com.d3works.apps.maintenance.service.MaintenanceRequestService;
import com.d3works.apps.maintenance.service.MaintenanceRequestServiceImpl;
import com.d3works.apps.maintenance.service.ManufOrderPrintServiceMaintenanceImpl;
import com.d3works.apps.maintenance.service.ManufOrderWorkFlowMaintenanceService;
import com.d3works.apps.maintenance.service.ProdProcessMaintenanceService;
import com.d3works.apps.production.service.BillOfMaterialServiceImpl;
import com.d3works.apps.production.service.ProdProcessService;
import com.d3works.apps.production.service.manuforder.ManufOrderPrintServiceImpl;
import com.d3works.apps.production.service.manuforder.ManufOrderWorkflowService;

public class MaintenanceModule extends D3worksModule {

  @Override
  protected void configure() {

    bind(EquipementMaintenanceRepository.class).to(EquipementMaintenanceRepo.class);
    bind(MaintenanceRequestService.class).to(MaintenanceRequestServiceImpl.class);
    bind(MaintenanceRequestRepository.class).to(MaintenanceRequestRepo.class);
    bind(BillOfMaterialServiceImpl.class).to(BillOfMaterialServiceMaintenanceImpl.class);
    bind(ManufOrderWorkflowService.class).to(ManufOrderWorkFlowMaintenanceService.class);
    bind(ManufOrderPrintServiceImpl.class).to(ManufOrderPrintServiceMaintenanceImpl.class);
    bind(ProdProcessService.class).to(ProdProcessMaintenanceService.class);
  }
}
